Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-04-2004, 09:18 PM
Novice Webmaster
 
Join Date: Dec 2003
Location: mines resort city
Posts: 12
Rep Power: 0
vash is on a distinguished road
how to secured query string

camner erk..
bila kite pass query, sometimes..
ada orang edit query kiter n bole tengok data lain...
so any solution to hidden link or encrypt it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 13-04-2004, 08:55 AM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 118
lcf will become famous soon enough
Send a message via ICQ to lcf Send a message via MSN to lcf Send a message via Yahoo to lcf
- Do not use query string for important data. Use query string for common purpose that will make no effect to your data only. Example: search string
- use POST, instead of GET
- use session (?)
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 13-04-2004, 09:05 AM
Novice Webmaster
 
Join Date: Dec 2003
Location: mines resort city
Posts: 12
Rep Power: 0
vash is on a distinguished road
i already use season to authenticate user access level..
n its working well..
but for the same level...
they can change the query n access other user page...
by changing query for user ID
but if they copy n paste to new page (browsser) ...the session will work..
n they can't access the page...
so any solution to avoid them to change qquery at the same page as they logon..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 28-04-2004, 02:47 PM
Novice Webmaster
 
Join Date: Dec 2003
Location: subang jaya, selangor
Posts: 34
Rep Power: 0
tesla_rage is on a distinguished road
talk about user authentication first...

it is best to have a file that checks the user's access level on every page that requires higher user level.. just include it in every file...

like what lcf said, if u need to pass an important value, use post method... then everything will be invisible to user...

err, i used to keep the user ID in a session variable... and also their access level... i dunno if there are better ways to do this... but certainly not querystring...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

Advanced Search
Display Modes 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 not 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I get a variable name as a string? montyauto Website Programming 3 06-05-2007 04:51 AM
Why my Query Not Working?? marukochan Website Programming 3 05-04-2007 02:10 PM
Sql query untuk A+B-C ... nixx Website Programming 5 06-10-2004 04:51 PM


All times are GMT +8. The time now is 01:29 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61