function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cnp_nareshcnp_naresh 

Security scanner issue

HI Every body,

 

     I created a public site by using "Sites" in salesforce and displaying some visualforce pages through public site. When I run the security scanner on this salesforce instance, it showing one problem in "SiteRegisterController" class regarding a hardcode Id. I am not at all using this class and this class is not a part of my application.

 

      Do any one come across the same problem?Please let me know how to resolve it.

 

Thanks,

Naresh B

Abhinav GuptaAbhinav Gupta

It always comes when you have sites enabled. You can ignore it without any fear, as its a system generated class. For more details about preparing for security review, please have a look at this article : http://www.tgerm.com/2011/07/salesforce-appexchange-security-review.html

cnp_nareshcnp_naresh

HI Abhinav,

 

    Thanks a lot for your reply. But is there any possibility of resolving this error so that we may have clean report.

 

Thanks,

Naresh B

craigmhcraigmh

Do you have access to the people who have control over the application? Bribe them to fix it...