# Building a secure API

**URL:** <https://forum.kirupa.com/t/building-a-secure-api/322716>\
**Category:** programming\
**Created:** [May 31, 2011, 2:55pm UTC](https://forum.kirupa.com/t/building-a-secure-api/322716 "2011-05-31T14:55:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome\_chevreau](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Post date:** [May 31, 2011, 2:55pm UTC](https://forum.kirupa.com/t/building-a-secure-api/322716/1 "2011-05-31T14:55:09Z")

</div>

Hi there,  
I need to build an API into my system which will allow other users to interact with it without login in.  
I just wanted to find out what is the best way to make it secure?

I have in mind of generating a unik api key - random alpha numerical and md5 key.

Coming in the API - it will check if the key is right and alow users to interact with it.

Am i on the right track?

Regards,

Thanks a lot for any kind of help,  
Jerome
