That would be second option. 2012/1/30 Colin Law <clan...@googlemail.com>: > On 30 January 2012 19:06, Marcin S <msporys...@gmail.com> wrote: >> No, I think... >> >> Its like every db on server have its own set of permissions for >> different users ,right? >> And i want to authenticate user based on that permissions. > > Do you mean you want to connect to the database using the name and > password used by user to login, or do you want to prevent the user > from logging in unless he uses a valid name/password configured for > the db, or both? > > Colin > >> >> >> >> 2012/1/30 venkata reddy <venkatareddy...@gmail.com>: >>> What do you mean by database here, Do you need something like LDAP >>> authentication? >>> >>> On Jan 30, 10:25 pm, Marcin S <msporys...@gmail.com> wrote: >>>> I read README, and i don't see anywere it provides solution I need. >>>> >>>> Let me clarify, username and password combination must be same as >>>> DATABASE permission (set by db engine). >>>> It has nothing to to do with content on that database itself. >>>> >>>> 2012/1/30 Everaldo Gomes <everaldo.go...@gmail.com>: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> > Take a look at the devise gem: >>>> >>>> >https://github.com/plataformatec/devise >>>> >>>> > On Mon, Jan 30, 2012 at 2:36 PM, Marcin S <msporys...@gmail.com> wrote: >>>> >>>> >> Hello, Im trying to write a simple app for company internal usage. >>>> >> The other applications we use (in php) authenticate users based on >>>> >> database credentials, and to be honest I have no idea how to implement >>>> >> this. Any suggestions will be great! >>>> >>>> >> -- >>>> >> You received this message because you are subscribed to the Google >>>> >> Groups >>>> >> "Ruby on Rails: Talk" group. >>>> >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >>>> >> To unsubscribe from this group, send email to >>>> >> rubyonrails-talk+unsubscr...@googlegroups.com. >>>> >> For more options, visit this group at >>>> >>http://groups.google.com/group/rubyonrails-talk?hl=en. >>>> >>>> > -- >>>> > You received this message because you are subscribed to the Google Groups >>>> > "Ruby on Rails: Talk" group. >>>> > To post to this group, send email to rubyonrails-talk@googlegroups.com. >>>> > To unsubscribe from this group, send email to >>>> > rubyonrails-talk+unsubscr...@googlegroups.com. >>>> > For more options, visit this group at >>>> >http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk@googlegroups.com. >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > > > -- > gplus.to/clanlaw > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.