Below is a list of databases with ebooks for the field of philosophy. If you are looking for a specific title, it's better to use sEURch, because there all publishers are covered.
For teachers: if you are looking for online access to a specific book, please let me know, than I can check the available options.