i've installed websvn using apt-get install websvn in ubuntu server.

i'm able to now access websvn through http://url/websvn.

however, i wish to set your password towards the access, so only approved people could can get on.

how could i actually do this?

Take a look in the documentation at Subversion repository browsing with authorization

Hope this can help.

You can easily include a .htaccess file within the cause of the websvn folder: