How to restore SQL Server 2008 R2 database to newly installed SQL Server 2008 R2 instance?
You can use SQL Server Management Studio and attach the database using GUI as described here.

Or using T-SQL, change the path to your drive &amp; folder accordingly.

CREATE DATABASE MyDatabase
    ON (FILENAME = 'D:\MySQLServer\Database.mdf'), 
    (FILENAME = 'D:\MySQLServer\Database.ldf') 
    FOR ATTACH;


More at http://msdn.microsoft.com/en-IN/library/ms176061(v=sql.105).aspx.

The SQL Server Service Account needs read/write permission to those folders used to store the database files.

More reading on security and permission required at msdn.