I have installed JBoss Portal 2.2. I changed default/index.html such that it now contains a link to download something, say a zip file. Now I need that the download should be allowed ONLY IF he's a registered user. Else, should be directed to the login page to sign in. What should be the path for the download link in index.html? I 'VE DOWNLOADED SOURCE CODE of JBoss Portal. Which files should I modify to accomplish this? Please suggest a way; This is very urgent.