create a private url generator when the private visibility option is set