How are your visitors going to find you if you password protect your site? How is google and other search engines going to see what you have on your site?
Yes the backlinks will still be good.
But google will not be able to see the site either, so it wont be indexed or rank.
But it will have good backlinks.
I don't want visitors, just high PR links.