Server Side Validation on CMS pages

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/14/2011 4:37:10 AM
Gravatar
Total Posts 70

Server Side Validation on CMS pages

Hi,

I want to ask is it possible that I add some server side validation on the CMS Pages? I notice theres no

behind code for the admin pages.

 

 

Thanks.

 

Cesse

6/14/2011 5:01:25 AM
Gravatar
Total Posts 108
Community Expert

Re: Server Side Validation on CMS pages

If you download a copy of the source code using tortoiseHG, and go to mojoportal\Web\Admin you find the source code for the admin pages.

Is pretty recommended not to fork the code of mojoportal, if you need to make server side validations, I recommend implementing a http handler or JavaScript depending on your needs, if you describe better what you are trying to accomplish may be we can give you a more detailed response

6/21/2011 10:08:39 PM
Gravatar
Total Posts 70

Re: Server Side Validation on CMS pages

Client side validation is working fine. I want to add security on the form logins and the CMS admin pages to properly validate form input and admin pages on server side. This is to avoid SQL injections (I want to parameterize the fields upon update to the db) and malicious injections of commands on the application.

Your reply is greatly appreciated.

 

Thanks.

 

Cesse

6/22/2011 5:33:07 AM
Gravatar
Total Posts 18439

Re: Server Side Validation on CMS pages

Your question makes no sense.

1. We already have server side validation on the login and registration pages and other places where it is needed.

2. We already use parameterized queries, we never concatenate user input into sql statements, nowhere in mojoPortal are we vulnerable to sql injection.

Of course in your own custom features you must implement your own validation and secure development practices.

You must sign in to post in the forums. This thread is closed to new posts.