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 2 years, 2 months ago.

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

    venkatesh
    Participant

    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?

    #26207

    What do you mean with “mask”?

    #26214

    venkatesh
    Participant

    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.

    #26218

    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.

    #26221

    venkatesh
    Participant

    Ok. Thx.

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

You must be logged in to reply to this topic.

Comments are closed.