razorsese Posted April 14, 2012 Share Posted April 14, 2012 It is possible to hide the data in the url?! I have something like this: ?action=viewArticle&articleid=1 Quote Link to comment https://forums.phpfreaks.com/topic/260916-url-data-hide/ Share on other sites More sharing options...
freelance84 Posted April 14, 2012 Share Posted April 14, 2012 Are you wanting to simply hide all the $_GET data from the user? If you wanted to remove ?action=view... from the url you could use javascript to do this. Alternatively, you could use mod rewrite to allow the server to interpret the data in the url differently.. but then frameworks like symfony can do all this for you... Quote Link to comment https://forums.phpfreaks.com/topic/260916-url-data-hide/#findComment-1337288 Share on other sites More sharing options...
razorsese Posted April 14, 2012 Author Share Posted April 14, 2012 I look for that !Thanks Does displaying data in my URL represent a security hole?! Quote Link to comment https://forums.phpfreaks.com/topic/260916-url-data-hide/#findComment-1337306 Share on other sites More sharing options...
xyph Posted April 14, 2012 Share Posted April 14, 2012 It shouldn't, unless you're passing things like passwords in it, where someone looking over another's shoulder could read it Quote Link to comment https://forums.phpfreaks.com/topic/260916-url-data-hide/#findComment-1337307 Share on other sites More sharing options...
razorsese Posted April 14, 2012 Author Share Posted April 14, 2012 Ok thanks Quote Link to comment https://forums.phpfreaks.com/topic/260916-url-data-hide/#findComment-1337312 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.