LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-23-2012, 09:04 AM   #1
ecataranciuc
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Rep: Reputation: Disabled
Hiding user agent info as a security measure


Hello!
Basically my question is the same as the subject of this thread, does it make sense to hide user agent information in order to enforce security on any given system?
I looked for a similar topic on the forum but found nothing.
I am asking this since the rule is: more disclosed information means a bigger risk.
Thank you in advance and have a nice day! ;-)

P.S. Sorry if my english in not verry good. :-)
 
Old 07-23-2012, 09:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the user agent is the browser, not the server. You wouldn't mess with that on the server side. Maybe you're referring the the "X-powered-by" or "Server" headers?
 
Old 07-23-2012, 11:06 AM   #3
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
I see it as a case of the proverbial, "Anything you say, can and will be used against you". Knowing version information might make it easier to target an exploit at you, however, not disclosing the version information won't preclude you from being exploited either. In other words, focus on securing your server, not hiding information about it.
 
Old 07-24-2012, 02:25 PM   #4
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
You *can* hide the user agent string but whether is is of much benefit to do so from a security standpoint is deebateable. You can determine the browser a person is using (within reasonable estimates if no always exactly) by other means. WHat langauges does it support, does it accept activeeX, does it sue javascript (if it does it will reveal a LOT more info), does it accept plugins, which ones are isntalled, etc.

There is a website that does a browser fingerprinting demo that can be a real eye opener. https://panopticlick.eff.org/

For more info on browser fingerprinting just do a web search for the term.

You also may face problems on those websites that are still mired in the 90's that do browser sniffing to display targeted content to different browsers.

Whether you feel it is worth while is up to you. For myself I don't bother too much.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: all --user-agent for "wget --user-agent " frenchn00b Programming 1 07-07-2009 05:25 AM
File server security measure bobykv Linux - Security 2 01-03-2008 05:40 PM
routers as a security measure cylarz Linux - Security 4 04-24-2006 12:20 PM
Posing a new security measure..... zhizaki Slackware 4 09-28-2005 11:13 PM
how does a brower get URL address info when the website is hiding it? sirpelidor Programming 3 12-05-2003 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration