Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I encrypt the Content URL

Santanu.WCCOct 5 2015 — edited Oct 6 2015

Hi Guys,

I want to encrypt the content URL because the URL used to come like:

http://xxxxxxxxxxxxxxxxx:16200/cs/groups/idc/documents/document/yw5f/mdaz/~edisp/san_003601.pdf

Now users can change the last number and view different content as business does not want to implement ACL.

So what can be the other approaches?

I was trying to write one custom service which will take the content ID as encrypted and decrypt it using known logic and then get the ContentID. Execute the GET_FILE service and take the stream.

Then show the stream in browser. I tried like:

m_binder.setContentType("application/pdf");

But how can I put the stream on binder or some where by which it will be visible on browser?

Regards,

Santanu

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2015
Added on Oct 5 2015
6 comments
417 views