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
❤Code❤Code 

Registration process in Salesforce sites

I want to implement a registration process in salesforce site where a person can go and register himself. After then when he login, his uid & password will get authenticated and allow him to enter.

Can anyone help me how to take a approach to this solution.

What i thought.

I will have a custom object. When the user will register, his uid & password will get stored in fields of the object.

When he login, his uid & password will be queried and if match is successful he will able to login.

Please let me know if there is any other approach.

Regards
JD68JD68
Hi, I wouldn't recommend this approach as it's not very secure and will not allow the user to actually authenticate to Salesforce.  For this you need to use actual Salesforce licenses (either Community or the new 'External Identity' type which create a user record with the usual security (password management etc) features.  See http://releasenotes.docs.salesforce.com/en-us/winter15/release-notes/rn_forcecom_security_external_identity.htm
Hope this helps,
JD