Jump to content

Recommended Posts

hi guys i need to authenticate over a url i cant think of any crypt decript hash combo that would not make me look stupid as url's are easily referenced in the browser and teh user can just cut and paste even an encrypted pwd whats the solution for authenticating over a url ?

 

thnaks guys

basicaly i have 2 servers that need to communicate sensitive data, the first server fopens and freads a web service on the other or basicaly a url to an mvc

 

server2.getarray outputs a serialised representation of an array produced by serialize(ini_parse(myini)).

 

server1.retrivedArray = unserialize(fopen fread http://server2/api/systeminifile/getarray)

 

 

 

i would liketo authenticate myself when requesting data from

 

http://server2/api/systeminifile/getarray

 

i would like to do it throgh the url IF IT IS POSSIBLE

 

i dont whant anyone to be able to go to http://server2/api/systeminifile/getarray and see the serialized data

 

i was thinking that it may be used in ajax calls but actualy if its only used in PHP the user will never see the URL with teh password appended to it. So in fact it may be ok to just pass a password on teh url.

Why isn't it that simple?

 

how simple is it ? you shoiw me, we have a socket connection running as a deamon that i work with in a infi loop but it uses a 3rd party class to open and close and transmit read, let me go check php.net and see teh code

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.