icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Security, just curious

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Closed Thread
 
LinkBack Thread Tools Search this Thread Rate Thread
Old July 17th, 2003, 12:12 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Jul 2003
Lives in Research Triangle Park, NC / Blacksburg, VA
57 posts
Gave thanks: 0
Thanked 0 times
I just wanted to see what everyone in the community with experience in this thought.

When I write login-based php scripts, I usually use sessions and forms like anyone else would. If a session variable for a correct login is not set, the user is presented with a form which posts to a validation file -- the validation file queries the database, verifies the correctness from the $_POST variable, sets the appropriate $_SESSION variables to validate everything, and then users a header() call to send the user back to the referring page validated.

That's pretty much it -- I don't go to any special lengths to maintain the security of the users and I was wondering how safe is this? I mean I don't doubt that I'm never truly behind a black box, but I was wondering what you guys thought about it.
__________________
"I tried to go to Target but I missed" ~Mitch
VTJustinB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On