Sample Header Ad - 728x90

Permission for business logic layer & application

1 vote
1 answer
250 views
I'm very new into db development and currently working on my first production app. I learned that I would need a business logic layer (BLL) to authenticate and authorize users, for example: John can only query the database while Andrew can insert new records. Following are my questions that required clarification: - Does it mean the BLL would have to connect to the database with greatest privilege necessary, instead of least privilege needed for each user? - Will the BLL need INSERT permission to provide service to Andrew, which is more than enough for John? - Can we solve this potential flaw (except by securing BLL better, which I would of course do)? For example, implement authorization in database layer (as described here)?
Asked by Ryan (313 rep)
Jan 30, 2017, 10:00 AM
Last activity: Aug 31, 2021, 09:04 AM