Andreas Brosten


I have created a custom authentication for Reporting Services, and it works great if I edit the RsSvrPolicy.congif like the following:

<CodeGroup class="UnionCodeGroup" version="1" Name="SecurityExtensionCodeGroup" Description="Code group for the security extension" PermissionSetName="FullTrust">
<IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\myfile.dll" />

But the guideline says a strong named assemly is better, so I created a strong named assembly and registered it in the GAC, but how do I find out the PublicKeyBlob to enter in the config file

Regards Andreas



Re: How to find out PublicKeyBlob

Tartan


Use 'sn -Tp assemblyfilename' from a VisualStudio command prompt.




Re: How to find out PublicKeyBlob

Tartan

After you run the command, I think if you RightClick -> SelectAll, then hit the Enter key, it should copy the entire command prompt contents to the clipboard for pasting.




Re: How to find out PublicKeyBlob

Andreas Brosten

Ahh, thank you!

// Andreas