|
Pages: [1]
|
 |
|
Author
|
Topic: Authentication API (Read 251 times)
|
|
rcschaff
Posts: 3
|
I would like to include the Script into my existing administrative section of my website. I have 2 options:
1). Continue using .htaccess .htpasswd for securing my admin section, and force people to login to the script seperately.
or
2) Use the authentication from this script to secure the whole back engine. I don't really care which one, but being as all of the files, are encrypted, I can' t tell if you are using sessions or what. If you are, Option 1 will not work.
Could you please let me know if the script uses sessions, or what I can put in my own php pages to secure them using the security of your script.
|
|
|
|
|
admin
Forum Administrator

Posts: 3070
SnippetMaster Author
|
Hello,
SnippetMaster is using PHP Sessions to handle user authentication. At the moment there is no API available to authenticate a user from 3rd party software.
This is a feature I am looking to add, however...
(So it would allow you to create your own PHP "call" to the snippetmaster authentication system to validate a user...)
|
|
|
|
|
|
rcschaff
Posts: 3
|
Could you post the session data and variables you use. I could simply insert that code into the top of my php pages and just use your auth system.
|
|
|
|
|
admin
Forum Administrator

Posts: 3070
SnippetMaster Author
|
No, I'm sorry, but that would allow the software to be very easily hacked. The API I am working on will allow you to provide a un/pw combo and then output will be a "pass/fail" response.
From that point, you would need to create your own persistant session system to work with your software...
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |