Tori Spelling had a sex tape stolen from her computer.

The 40-year-old actress admits she made a saucy video with her husband Dean McDermott for their own private viewing, but after uploading it to their computer ''without password protection'', the cheeky flick was copied by a friend.

Writing in her new memoir, 'Spelling It Like It Is', she explained: ''Dean said, 'We should tape ourselves having sex. He had a little portable tripod, and he set up his video camera on it.

''Afterwards, I checked my angles and they were good, so I allowed him to keep it.''

The intimate recording wasn't discovered until two years later when a pal informed Dean that the thief was attempting to sell the clip on.

Tori said: ''I was horrified!''

The former 'Beverly Hills 90210' star and Dean - who tied the knot in 2006 and have four children, Liam, six, Stella, five, Hattie, two, and 13-month-old son Finn - sent the man a cease and desist order, which went unanswered, but while the ''incident went away'', the sex tape has since been reportedly leaked, according to