DBCREATOR type role only for specific database

  • I have a multi-database server. The user needs to be able to restore from a backup (of a different database) over a particular database on an ad-hoc basis. The application they use allows them to do this by prompting for backupfile path and database name to resore to .

    Giving them the dbcreator role expands this capability too far i.e. they could scrap any of the databases on the server.

    I would somehow like to restrict them to a specifc database name to restore to.

    Aletrnaive approaches just using TSQL/procs/batch files could be considered.

    Thanks in advance.

    Rick.

  • Have you considered creating an application role and assigning users to it?

    Cheers,

    Angela

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply