Realistically it's impossible to prevent algae from entering a tank. They come in on any rock, coral base, frag plug, etc. What you need to do is focus on maintaining conditions in your so tank that algae doesn't thrive, and/or have a clean up crew that's big enough to handle the tank's algae growth.