Rails beginner
Rails beginner

Reputation: 14504

Best practice security measures for an enterprise Rails app?

What security measures should a Rails enterprise app have?

Examples of few security measures:

Admin area authenticated and IP restricted

No User added CSS, because of some old browsers can run JavaScript in CSS

Should User information in database be encrypted?

Upvotes: 1

Views: 1088

Answers (2)

BrunoF
BrunoF

Reputation: 3523

There are a lot of essential security precautions such as a strong authentication system, validating user input to mitigate XSS and SQL injection attacks and escaping HTML at the views.

You can find information about common Ruby on Rails application vulnerabilities and their countermeasures at the Zen Rails Security Checklist.

Upvotes: 0

Devin M
Devin M

Reputation: 9752

I would suggest looking over the Rails Security Guide which should go over the common pitfalls that you would usually encounter. Also check out the additional resources that they list on the guide:

The security landscape shifts and it is important to keep up to date, because missing a new vulnerability can be catastrophic. You can find additional resources about (Rails) security here:

Upvotes: 4

Related Questions