SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Hiding or Encrypting parameter value in report server url


Hiding or Encrypting parameter value in report server url

Author
Message
Arunkumar S P
Arunkumar S P
SSCertifiable
SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)

Group: General Forum Members
Points: 5115 Visits: 870
Hi ,

I'm accessing the reports from my web application by forming the url like below

http://localhost/reportserver?/TestReports/Report1&WO_Id=1

where WO_Id is the report parameter.

Now in the address bar of the report server user can easily change the parameter value and they can able to see the report for other values.

I like to restrict that.

Kindly help me to solve this issue

-----------------------------------------------------------------------------------------------------------------------------------------------------------
Please feel free to let me know if you are not clear or I’ve misunderstood anything.

Thanks,
Arunkumar S P


Narayana_17
Narayana_17
Mr or Mrs. 500
Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)

Group: General Forum Members
Points: 587 Visits: 135
Hi,
I have got the same problem with my reports now,
Please let me know if you got or find any solution for this.
your help will be greatly appreciated.

Thanks
Lakki
lakki1901@gmail.com
larsjessenhh
larsjessenhh
SSC Veteran
SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)

Group: General Forum Members
Points: 208 Visits: 271
Hi,
if you can change the query of your report and the table it queries isn't to big, you can try to hide the easily guessed value for your parameter in a hash function like so:
declare @id int = 1;
select cast(HASHBYTES('MD5',CAST(@id as nvarchar(50)) )as bigint) as ID_HASH


The problem is, that you have to compare it in your WHERE clause against hash values for all rows of your column, which can be quite an overhead...
Lars
westjk
westjk
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 3
Arunkumar S P - Tuesday, July 21, 2009 8:08 AM
Hi ,I'm accessing the reports from my web application by forming the url like belowhttp://localhost/reportserver?/TestReports/Report1&WO_Id=1where WO_Id is the report parameter.Now in the address bar of the report server user can easily change the parameter value and they can able to see the report for other values.I like to restrict that. Kindly help me to solve this issue


I have this same issue did you find a solution? Thanks for any insight you can give.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search