Under European law all books pass into the public domain 70 years after the death of their author - which is the case of Sigmund Freud’s works in German since 1/1/2010. (Translations of Freud remain in copyright until 70 years after the death of the translator.) His works are available via the links published on Wikisource, a sister website of the free online encyclopedia Wikipedia. Some of his texts are already accessible.
The Gesammelte Werke are accessible and fully searchable in German via PEP (Psychoanalytic Electronic Publishing) and via the website textlog.de