You need to sign in to do that
Don't have an account?
Enabled Apex Classes didn't work.
I have a little wonder about the Apex security settings on Force.com Sites.
I had created VF page and it's controller, and I've published the page with "Sites Visualforce Pages".
I didn't set "Enabled Apex Classes" settings on Force.com Sites guest profile.
Then, I've checked out Sites URL, the published page was displayed successfully.
Therefore, I think there is no involvement between "Enabled Apex Classes" and Apex security restriction.
What happens if I set "Enabled Apex Classes" settings on Force.com Sites guest profile?
Could anyone explain to me?
(Sorry to trouble you, but if you couldn't understand what I said, please ask to me.)
Regards.
All Answers
you don't have to enable classes that are the controllers for your public pages, access granted automatically.
However, if you have generic classes that you use in your controllers then you will need to grant access to these classes via the site public access settings
Thanks for reply.
I understand that I don't have to enable classes, but what classes for instance are indicated with "generic" you mentioned?
I couldn't reproduce any problem when I tried to confirm what happen.