Hey Jason,
you'll need to create database and setup users/roles[1].
Then use proper user in database URI string[2].

1 http://www.postgresql.org/docs/current/static/sql-createuser.html
2
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Connection-strings--the-uri-parameter-

On Thu, May 14, 2015 at 11:58 AM, Jason (spot) Brower <encomp...@gmail.com>
wrote:

> I am building a database that needs to be very secure for all those "just
> in case" situations.
> I want to restrict the database access based on roles that I setup.  Does
> web2py even have this functionality or is this something I have to do with
> SQLAlchemy or something?
> BR,
> Jason Brower
>
>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to