Just in case repeating.
you enable for example /base defensemode 5, which allows no one!
then you insert /base myfac to get list of which IFFs you can add as friends able to dock your base. (basically any faction at all)
Reminding, official and indie factions share the same IFF! For example if you add bretonia police IFF, you add bretonia police indies and officials to be able for docking. /base addfac IFFnumber //to add someone to the base access list (and friends), IFFnumber you look in /base myfac /base lstfac to check which ones were already added /base rmfac to remove from the list
actually there is also hidden command /base clearfac, which removes everyone from list, for total cleansing.
*Shrugs* probably should be added to Player Base Tutorial
in the nearby future will appear the same feature for a black list.