---
title: "Discussion on \"Rails Security Best Practices - Check For Unauthorized Access\" | Hashnode"
description: "Discussion on \"Rails Security Best Practices - Check For Unauthorized Access\". How to check if a user is authorized to access a resource in Ruby on Rails"
url: "https://hashnode.com/posts/rails-prevent-unauthorized-access/60bb0b34fffc4c13b9cd54b8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rails Security Best Practices - Check For Unauthorized Access](https://anthonygharvey.com/rails-prevent-unauthorized-access?utm_source=hashnode&utm_medium=feed)

How to check if a user is authorized to access a resource in Ruby on Rails

Aug 4, 2019 · 2 min read · anthonygharvey.com  
Updated Jan 14, 2024  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#security](https://hashnode.com/tag/security)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Anthony Harvey](https://hashnode.com/@anthonyharvey)

@anthonyharvey

  
[View profile](https://hashnode.com/@anthonyharvey)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
