Is it possible to proxy by username and password for HTTP traffic or is it only by network?

With transparent proxy, you can only proxy by network and IP address.

With none transparent proxy, you can proxy by username and password. All your client web browsers will need to be configured with proxy settings in order to use this.