Pretty faces URL Masking

Splash Forums PrettyFaces Users Pretty faces URL Masking

This topic contains 4 replies, has 2 voices, and was last updated by  venkatesh 7 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #26204


    I have a Pretty URL something like /pw/infotype/5339?show=false
    Now I would like to mask the Id ie. 5339 in the URL.
    Can any one of you pls help?


    What do you mean with “mask”?



    Thank you for responding.
    I mean ‘hide’ the value id i.e 5339 in the URL for some security reasons but I need to access that id in my application.


    You cannot simply “hide” some information from the URL and nevertheless access it in the backend. PrettyFaces and Rewrite promote the use of RESTful URLs. And RESTful URLs have to contain something to “identify” the resource that you want to address. I for myself don’t believe that hiding such information improves security. You have to make sure that you code does corresponding permissions checks.



    Ok. Thx.

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.