| Author |
Best practice link configuration
|
louise rochford
Ranch Hand
Joined: Apr 04, 2002
Posts: 119
|
|
Whats the recommended way to specify links? My pages have links to xxx.do anfd then a single mapping in the config file for the xxx.do to use xxxAction. Doesn't this rather give any potential naughty chaps the knowledge that I'm using Struts. Should I be disguising the links in some way or adding another level of indirection? Thanks, Louise
|
 |
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
So far as I know, it would only matter if there was some giant security fault that people could exploit. Who cares if they know you're using Struts if they can't exploit it. You could always change the action servlet filter to pretend it's using something more primitive like *.html or *.cgi, or something arbitrary like *.hireme. I don't see many people explcitly changing it though -- the traditinal "do" seems adequate for most.
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
 |
|
|
subject: Best practice link configuration
|
|
|